/**
 * JourneyPlanListProd Less文件标准参考
 *
 * 用途: Phase2 Less标准写法范例
 * 关键点: 仅定义子元素样式,不设置会被bgStyle控制的属性(background/padding/margin)
 * 相关: templates/component-style-standard-pattern.md
 */

.img {
  width: 64px;
  height: 64px;
  margin-right: 12px;
}

.rightWrap {
  width: calc(100% - 76px);

  .title {
    color: #242424;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    // margin-bottom: 12px;
  }

  .tips {
    border-radius: 8px;
    background: #d01660;
    color: #ffeaf2;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    /* 150% */
    letter-spacing: 0.24px;
    padding: 2px 8px;
    width: max-content;
    height: 22px;
    margin: 4px 0;
  }

  .priceWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;

    aside {
      display: flex;
      flex-direction: column;

      .price {
        font-size: 20px;
        color: #3434E1;
        // display: inline-flex;
        line-height: 24px;
        margin: 0;

        span {
          color: rgba(0, 0, 0, 0.45);
          font-size: 14px;
        }
      }

      .guidPrice {
        color: rgba(0, 0, 0, 0.45);
        font-size: 14px;
        text-decoration-line: line-through;
      }
    }

    section {
      color: #3434E1;
    }
  }
}

.breifWrap {
  margin-bottom: 4px;
  color: #545454;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;

  img {
    max-width: 100%;
    max-height: 100%;
  }

  ul {
    padding-left: 16px;
  }
}

.wrap {
  .titleText {
    color: #242328;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 10px;
  }

  .remarks {
    color: #242328;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.16px;
    margin-bottom: 16px;
  }

  .imgWrap {
    margin-bottom: 12px;

    img {
      width: 100%;
    }

    &:last-child {
      margin-bottom: 0;
    }
  }

  .itemWrap {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    display: flex;
    margin-bottom: 12px;

    .recurring {
      font-size: 12px;
      font-weight: 700;
      line-height: 18px;
      letter-spacing: 0.24px;
      color: #D01660;
      margin-bottom: 8px;
    }

    .line1 {
      color: #70707a;
      font-size: 12px;
      line-height: 18px;
      /* 150% */
      letter-spacing: 0.24px;
    }

    .line2 {
      color: #242328;
      font-size: 40px;
      font-weight: 700;
      line-height: 48px;
      /* 120% */
      display: flex;
      align-items: center;

      span {
        margin-left: 8px;
        border-radius: 8px;
        background: #d01660;
        color: #ffeaf2;
        font-size: 12px;
        font-weight: 700;
        line-height: 18px;
        /* 150% */
        letter-spacing: 0.24px;
        padding: 2px 8px;
        width: max-content;
        height: 22px;
      }
    }

    .line3 {
      color: #242328;
      font-size: 16px;
      font-weight: 700;
      line-height: 24px;
      /* 150% */
      letter-spacing: 0.16px;
    }

    .price {
      font-size: 24px;
      color: #222;
      // display: inline-flex;
      line-height: 30px;
      margin: 16px 0;

      span {
        font-size: 16px;
      }
    }

    .brief {
      border-radius: 8px;
      padding: 16px;
      background: #f7f7f7;
      color: #242328;
      font-size: 12px;
      font-weight: 700;
      line-height: 18px;
      /* 150% */
      letter-spacing: 0.24px;

      li {
        font-weight: 400;
        list-style-type: initial;
        margin-left: 14px;
      }
    }

    .btnText {
      width: 100%;
      border: 2px solid #4d28e8;
      border-radius: 32px;
      color: #4d28e8;
      line-height: 40px;
      text-align: center;
      font-size: 16px;
      font-weight: 700;
      margin-top: 16px;
    }

    &:last-child {
      margin-bottom: 0;
    }
  }

  .selectedItem {
    border: 1px solid #3434E1;
  }
}

.noDataWarp {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;

  .noDataImg {
    height: 140px;
    margin-bottom: 24px;
    margin-top: 40px;
  }

  .noDataBtns {
    margin-top: 32px;
    display: flex;
    flex-direction: column;

    :global {
      .ant-btn {
        width: 295px;
        height: 40px;
      }
    }
  }
}